package com.design.strategy.passport.adapterv2.adapters;

import com.design.strategy.passport.PassportService;
import com.design.strategy.passport.ResultMsg;


public abstract class AbstractAdapter extends PassportService implements ILoginAdapter {


    protected ResultMsg loginForRegist(String username, String password) {
        if (null == password) {
            password = "THIRD_EMPTY";
        }
        super.regist(username, password);
        return super.login(username, password);
    }

}
